package com.lanswon.qzsmk.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.lanswon.qzsmk.model.CollAttach;


public interface CollAttachMapper {

	
	/**
	 * 保存
	 * @param record
	 * @return
	 */
    int insert(CollAttach record);
    
    /**
     * 批量保存
     * @param list
     */
    void batchInsert(List<CollAttach> list);
    
    /**
     * 更新客户编号
     * @param paperType
     * @param paperNo
     * @return
     */
    int updateCustomerNo(@Param("paperType")String paperType,@Param("paperNo")String paperNo);
    
}